﻿@using Kojarskiy.Core

<div class="alert alert-info pull-right" style="padding: 5px; opacity: 0.8;">
    <a href="@Url.Action("ChangeLanguage","Home",new {language = "Ru-ru", returnUrl = Request.Url})">
        <img src="@Url.Content("~/Content/Images/ru-icon.png")" alt="Русский язык" @if(Localization.Current == "Ru-ru"){<text>width="35"</text>} else{<text>width="25"</text>} />
    </a>
    <a href="@Url.Action("ChangeLanguage","Home",new {language = "Ua-ua", returnUrl  = Request.Url})">
        <img src="@Url.Content("~/Content/Images/ua-icon.png")" alt="Українська мова" @if(Localization.Current == "Ua-ua"){<text>width="35"</text>} else{<text>width="25"</text>}/>
    </a>
    <a href="@Url.Action("ChangeLanguage","Home",new {language = "En-us", returnUrl  = Request.Url})">
        <img src="@Url.Content("~/Content/Images/en-icon.png")" alt="English language" @if(Localization.Current == "En-us"){<text>width="35"</text>} else{<text>width="25"</text>}/>
    </a>
</div>